﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITMaterialReportRepository:IBaseRepository<TMaterial>
    {

        /// <summary>
        /// 物料报表
        /// </summary>
        /// <returns></returns>
        List<TMaterialReporiDto> GetMaterials(out int totalCount, string? MaterialsName, string? MaterialsCode, int pageIndex, int pageSize);


        /// <summary>
        /// 进销存报表（出入库）
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        List<StereoscopicLibraryDto> GetInboundAndOutbound(out int totalCount, out string errorMsg,string? date, int pageIndex, int pageSize);
    }
}
